import Vue from 'vue';
Vue.directive('header', {
    bind: function(el, binding) {
        const value = binding.value;
        if (value) {
            el.parentNode.removeChild(el)
        }
    }
})